<?php
error_reporting(E_ALL);

// Includo Joomla
define( '_JEXEC', 1 );
define( '_VALID_MOS', 1 );
define('JPATH_BASE', dirname(__FILE__) . "/../../.." );
define( 'DS', DIRECTORY_SEPARATOR );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

/**
 * CREATE THE APPLICATION
 *
 * NOTE :
 */
define('_ISO','charset=utf-8');
jimport('joomla.database.database');
jimport( 'joomla.database.table' );
require_once(JPATH_BASE . '/plugins/system/legacy/dbtable.php');

require_once(JPATH_BASE . '/configuration.php');
$conf = new JConfig();

header("Content-type: text/plain");
echo JHTML::_( 'form.token' ) . "\n";
?>
<input type="hidden" value="<?php echo md5(uniqid(rand(), true))?>" name="rid"/>